try:
    file = open("./song.txt","w",encoding="utf-8")
    str_list = ["Do you hear the people sing?\n","Singing the song of angry men?"]
    file.writelines(str_list)
except:
    print("文件写入错误!")
finally:
    file.close()